/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

.filterHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.filterHeader h2 {
  margin: 0;
  font-size: 1.5rem;
}

.searchContainer {
  display: flex;
  align-items: center;
  position: relative;
}

.searchContainer::before {
  content: '🔍';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  opacity: 0.7;
  pointer-events: none;
}

.searchContainer input {
  width: 16rem;
  height: 2.5rem;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  border: 1px solid var(--ifm-color-emphasis-300);
  border-radius: 2rem;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.searchContainer input:focus {
  outline: none;
  border-color: var(--ifm-color-primary);
  width: 20rem;
}

.searchContainer input::placeholder {
  color: var(--ifm-color-emphasis-500);
}

.checkboxList {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.checkboxListItem {
  margin: 0;
}

.showcaseContainer {
  padding: 0 1rem;
}

.showcaseList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.showcaseEmpty {
  text-align: center;
  padding: 4rem 0;
  color: var(--ifm-color-emphasis-600);
}
